package com.zhang.backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhang.backend.entity.Person;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PersonMapper extends BaseMapper<Person> {
    // Basic CRUD methods (insert, selectById, updateById, deleteById, selectList, etc.)
    // are automatically provided by BaseMapper.

    // You can add custom query methods here if needed. For example:
    /*
    @Select("SELECT * FROM Persons WHERE ParentFamilyID = #{parentFamilyId}")
    List<Person> findByParentFamilyId(Long parentFamilyId);
    */
}